package com.learn.factorykit;

import java.util.function.Supplier;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Builder </p>
 *
 * Functional interface that allows adding builder with name to the factory.
 */
public interface Builder {

    void add(WeaponType name, Supplier<Weapon> supplier);
}
